package cn.com.b2office.service;

import java.util.List;

import cn.com.b2office.domain.ItemCollection;

public interface CollectionService {
	void addCollection(String itemId, String memberId);

	void removeCollection(int collectionId);
	
	List<ItemCollection> findAll(String memberId);

	List<ItemCollection> find(String memberId, int firstResult, int maxResults);

	List<ItemCollection> find(String memberId, String categoryId,
			int firstResult, int maxResults);
	
	int getTotalCollectionSize(String memberId);
	
	int getTotalCollectionSize(String memberId,String categoryId);
}
